package com.grandtech.insurance.feign;

import com.grandtech.insurance.common.R;
import com.grandtech.insurance.domain.DbJtcyxx;
import com.grandtech.insurance.domain.DbKhyztj;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

//base
@FeignClient(name = "agribigdata-server-base", url = "")
//@FeignClient(name = "agribigdata-server-base", url = "${zuul.url}" + "/agribigdata-server-base")
public interface NxServerBaseService {

    @PostMapping("/api/v1/nydb/cknh")
    List<String> cknh(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/cknhlb")
    Map cknhlb(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/cknhdw")
    List<Map> cknhdw(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/tbcbqdb")
    List<String> tbcbqdb(@RequestBody Map params);

    //没用了
    @PostMapping("/api/v1/nydb/fdozzjg")
    String fdozzjg(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/getCyList")
    String getCyList(@RequestBody Map params);

    //没用了
    @PostMapping("/api/v1/nydb/nhgx")
    List<String> nhgx(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/yzcll")
    List<String> yzcll(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/yzcll1")
    List<String> yzcll1(@RequestBody Map params);

    @PostMapping("/api/v1/nydb/cy")
    List<String> cy(@RequestBody Map params);


}

















